<template>
    <div class="app">
        <el-config-provider :locale="locale">
            <RouterView></RouterView>
        </el-config-provider>
    </div>
</template>
<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// import { zhCn } from 'element-plus/es/locale' // 此方法有毛病
import { defineComponent } from 'vue'
import useMainStore from '@/store/main/main'
const systemStore = useMainStore()  
systemStore.getBottomData()


const locale = zhCn


// ts方法导出defineComponent返回值 函数可以传入泛型进行规范
defineComponent({
    props: {},
    // data() { return { } },
    methods: {},
    setup() {
        console.log()
    }
})
</script>
<style lang="scss">
.app {
    width: 100vw;
    height: 100vh;
}

.el-popper-container-6325 {
    background: #000;
}
</style>
